/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dto;

import java.io.Serializable;

/**
 *
 * @author aptech
 */
public class Item implements Serializable{
    private String code;
    private String name;
    private String comment;
    int purcharseDaily;

    public Item(String code, String name, String comment, int purcharseDaily) {
        this.code = code;
        this.name = name;
        this.comment = comment;
        this.purcharseDaily = purcharseDaily;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPurcharseDaily() {
        return purcharseDaily;
    }

    public void setPurcharseDaily(int purcharseDaily) {
        this.purcharseDaily = purcharseDaily;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    protected void finalize() throws Throwable {
        super.finalize();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public String toString() {
        return super.toString();
    }
    

    public Item() {
    }

    
    
}
